if __name__ == '__main__':

    name = 'alice'

    introduce = f'我叫{name},今年{18+1}岁'

    numStr = '0123456789'

    #ali'ce'

    print(numStr[1:8:2])
    print(numStr[:])
    print(numStr[::-1])

    print(numStr.find('1'))
    print(numStr.index('1'))

    print(len(numStr))

    list1 = [1,2,3,'啊']

    list2 = [x for x in list1 ]

    list3 = list1

    del list3[1]

    list1.append(123)

    list1.pop()

    print(list1)

    for i in list1:
        print(i)
    else:
        print('err')
    print(1 in list1 )

    tuple1 = (1,2,3)
    tuple1 = (1,2,3,4)


    dict1 = {'name':'bob',"age":19}
    dict1['id'] = 23456789
    dict1['name'] = 'candy'

    print(dict1.items())

    a,b,c = (1,2,3)

    print(a)
    for k,v in dict1.items():
        print(k,v)







